package libra;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ValProps {
	// 获取配置中当前应用的服务名
	@Value("${spring.cloud.nacos.discovery.service}")
	public String serviceName;
	
	@Override
	public String toString() {
		return String.format("ValProps [serviceName = %s]", serviceName);
	}
}
